package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 赋能培训对象 empowerment_training
 * 
 * @author ruoyi
 * @date 2024-12-05
 */
public class EmpowermentTraining extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 培训的唯一标识 (UUID) */
    private String trainingId;

    /** 培训名称 */
    @Excel(name = "培训名称")
    private String trainingName;

    /** 培训讲师 */
    @Excel(name = "培训讲师")
    private String instructor;

    /** 培训时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "培训时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /** 培训地点 */
    @Excel(name = "培训地点")
    private String location;

    /** 培训内容简介 */
    @Excel(name = "培训内容简介")
    private String trainingContent;

    public void setTrainingId(String trainingId) 
    {
        this.trainingId = trainingId;
    }

    public String getTrainingId() 
    {
        return trainingId;
    }
    public void setTrainingName(String trainingName) 
    {
        this.trainingName = trainingName;
    }

    public String getTrainingName() 
    {
        return trainingName;
    }
    public void setInstructor(String instructor) 
    {
        this.instructor = instructor;
    }

    public String getInstructor() 
    {
        return instructor;
    }
    public void setTime(Date time) 
    {
        this.time = time;
    }

    public Date getTime() 
    {
        return time;
    }
    public void setLocation(String location) 
    {
        this.location = location;
    }

    public String getLocation() 
    {
        return location;
    }
    public void setTrainingContent(String trainingContent) 
    {
        this.trainingContent = trainingContent;
    }

    public String getTrainingContent() 
    {
        return trainingContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trainingId", getTrainingId())
            .append("trainingName", getTrainingName())
            .append("instructor", getInstructor())
            .append("time", getTime())
            .append("location", getLocation())
            .append("trainingContent", getTrainingContent())
            .toString();
    }
}
